﻿using Abp.Domain.Entities;
using Castle.Components.DictionaryAdapter;
using JetBrains.Annotations;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ALEXFW.BasicModel
{
    public class Classes:Entity<Guid>
    {
        [Required]
        [DisplayName("班级名称")]
        public string Name { get; set; }

        [Required]
        [DisplayName("年级")]
        [DisplayFormat(DataFormatString = "yyyy")]
        public string Year { get; set; }

        [Required]
        [DisplayName("学院ID")]
        public Guid CollegeID { get; set; }
    }
}
